home *** CD-ROM | disk | FTP | other *** search
/ Game Audio Programming / GameAudioProgramming.iso / Extras / Dolby / DISK 2 / 02Resources.swf / scripts / DefineSprite_15_TWS / frame_1 / DoAction.as
Encoding:
Text File  |  2002-02-03  |  452 b   |  13 lines

  1. movieXScale = _parent._xscale;
  2. movieYScale = _parent._yscale;
  3. upperLimit = 1200 / movieYScale;
  4. lowerLimit = 100 - 1200 / movieYScale;
  5. documentScrollDistance = _parent.document.document._height - 100;
  6. scrollBar._xscale = 10000 / movieXScale;
  7. scrollBar._y = upperLimit;
  8. upMC._xscale = 10000 / movieXScale;
  9. upMC._yscale = 10000 / movieYScale;
  10. downMC._xscale = 10000 / movieXScale;
  11. downMC._yscale = 10000 / movieYScale;
  12. downMC._y = lowerLimit;
  13.